package by.ostrovsky.webhousingsystem.bean.user.form;

import java.util.Map;

import org.apache.struts2.dispatcher.SessionMap;
import org.apache.struts2.interceptor.SessionAware;

import com.opensymphony.xwork2.ActionSupport;

public abstract class UserRequestBean extends ActionSupport implements SessionAware{
	private static final long serialVersionUID = 1L;
	protected SessionMap<String, Object> sessionMap;
	protected String login;
	protected String work;
	protected String deadline;
	protected String fullname;
	protected String phone;
	protected String addinfo;

	public UserRequestBean() {
	}

	public String getWork() {
		return work;
	}

	public void setWork(String work) {
		this.work = work;
	}

	public String getDeadline() {
		return deadline;
	}

	public void setDeadline(String deadline) {
		this.deadline = deadline;
	}

	public String getFullname() {
		return fullname;
	}

	public void setFullname(String fullname) {
		this.fullname = fullname;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getAdditionalUserInfo() {
		return addinfo;
	}

	public void setAdditionalUserInfo(String additionalUserInfo) {
		this.addinfo = additionalUserInfo;
	}

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}
	
	@Override
	public void setSession(Map<String, Object> arg0) {
		this.sessionMap = (SessionMap<String, Object>) arg0;
	}
}
